package com.atguigu.yygh.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class UserData {  //用来测试esayexcel，与excel对应的实体类

    @ExcelProperty(value = "用户编号",index = 0)  //index是说明在Excel中的第几列
    private int uid;

    @ExcelProperty(value = "用户名称",index = 1)
    private String username;


}
